#ifndef SHELL_LIBRARY_H
#define SHELL_LIBRARY_H

#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>

#define fatal() \
        do { fprintf (stderr, "%s: %s: %d: %s: %s\n", \
             argv[0], __FILE__, __LINE__,\
	     __PRETTY_FUNCTION__, strerror (errno)); \
	  exit(EXIT_FAILURE);} while (0)

#define CMDLINE_SIZE 1024
#define CMDLINE_MAX_ARGS 10

void ParseCommandLine(char **);

void VerifyCommand(char **, short *);

void ExecuteCommands(char **, short);

void ChangeDirectory(char **);

void PrintWorkingDirectory();

void CreateDirectory();

#endif
